home *** CD-ROM | disk | FTP | other *** search
- Path: jaxnet.jaxnet.com!jax!garyg
- From: garyg@jax.jaxnet.com (Gary M. Greenberg)
- Newsgroups: comp.lang.c
- Subject: Re: [Q]How can I read ints and floats by using fgets() ?
- Date: 25 Jan 1996 18:28:54 GMT
- Organization: Southeast Network Services, Inc.
- Message-ID: <4e8i56$j4a@jaxnet.jaxnet.com>
- References: <4e56sn$p6n@wraith.cc.uow.edu.au>
- NNTP-Posting-Host: jax.jaxnet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Abimanju Manoharan (am@wraith.cc.uow.edu.au) wrote:
- : Hi everybody,
- : I have a small problem in my c program. I want to read a file for exe.
- : the file (file size is not constant):
-
- : 4 11
- : 2.5 4 13 3.7
- : 5 4 2.1
- : 2.4
-
- : I have to read each line by using fgets(). then I have to convert this
- : string. There are float values and int values are mixed.
- : Du you any idea? or du you have another way to read this?
-
- : Could you kindly send a e-mail to me.
-
- : thanks
- : A.Mano
-
- : am@cs.uow.edu.au
-
-
-
- --
- gary /* the Sorcerer's Apprentice */
-
- "Why do we have to hide from the police, Daddy?"
- "Because we use vi, honey. They use emacs."
- "Unless we're on the Mac. Then we use BBEdit 'cause 'It doesn't suck.'"
-